#pragma once
#include <span>
#include <algorithm>
#include <iterator>
#include <ranges>
#include <array>
#include <source_location>
#include <string>

void span_test()
{
	int arr[10];
	std::ranges::generate(arr, [cnt = 0]()mutable{
		return cnt++;
		});
	std::span sp(arr);

	auto location = std::source_location::current();
	std::string file_name = location.file_name();
	size_t line = location.line();
	size_t column = location.column();
	std::string fun_name = location.function_name();
}
